<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateSystemInfoConfigsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('system_info_configs', function (Blueprint $table) {
            $table->id();
            $table->string('name')->default('')->comment("名称");
            $table->string('logo',100)->nullable()->default('')->comment("Logo");
            $table->text('contact')->comment('联系方式');
            $table->text('info')->comment('信息');
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('system_info_configs');
    }
}
